.. highlightlang:: us .. index:: @f{xyzvolume} .. _@f{xyzvolume}: @f{xyzvolume} ============= .. us.tag @f{xyzvolume} ENGLISH fieldfunction New540 Calculates the volume, area or the quotient volume/area for a given 3D dataset. .. function:: @f{xyzvolume(DatasetName, Format)} @f{xyzvolume(DatasetName, Format, Type)} .. us.params **Parameters** .. uparam:: DatasetName *DatasetName* is the dataset name. .. uparam:: Format *Format* is a format string to format the output, e.g. %.1lf. See :ref:`printf`. .. uparam:: Type *Type* is the string area or v/a. .. us.example **Example** **Eingabe**: ``@f{xyzvolume(Data1, Volume=%g)}`` ``@f{xyzvolume(Data1, Area=%.1lf, area)}`` ``@f{xyzvolume(Data1, v/a=%.1lf, v/a)}`` .. seealso:: :ref:`overview-field-functions`, :ref:`editupdate-fields`, :ref:`diagraminsert-field-function` :sub:`id-756759`